﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Dict;
using System;
using System.Collections.Generic;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    /// <summary>
    /// 学科专业
    /// </summary>
    public class EncounterServiceDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.dict.service.inter.dubbo.EncounterServiceDubboService";
        /// <summary>
        /// 2-100118-01 根据条件查询学科专业信息
        /// </summary>
        public GateWayMethod queryESByExample => new QueryESByExample(url);
    }

    public class QueryESByExample : GateWayMethod
    {
        public QueryESByExample(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryESByExample";

        public override string paramClass => "cc.ewell.his.dict.upon.encountservice.QueryESRequest";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(QueryESRequest);

        public override Type responseParamType => typeof(List<QueryESResponse>);

        public override string desc => "2-100118-01 根据条件查询学科专业信息";
    }
}
